<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div>Hello World!</div>
    <script src="_framework/blazor.webassembly.js" autostart="false"></script>
    <script>

        window.onload = async function () {
            await Blazor.start();
            const result = await DotNet.invokeMethodAsync('CSharpWASMTest', 'Add', 1, 2);
            alert(result);
        };
    </script>
</body>
</html>